package cn.getech.data.development.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 告警通知接收人
 */
@Data
@ApiModel
@TableName("bdp_alarm_received")
public class AlarmReceived extends BaseEntity implements Serializable {

    /**
     * 规则类型，1：告警表（bdp_alarm），2：数据质量规则（data_manager_quality_rules）
     */
    @TableField("alarm_type")
    private Integer alarmType;

    /**
     * 告警记录id
     */
    @TableField("alarm_id")
    private Integer alarmId;

    /**
     * 接收人id
     */
    @ApiModelProperty("接收人id")
    @TableField("received_id")
    private Integer receivedId;

    @ApiModelProperty("接收人名称")
    @TableField("received_name")
    private String receivedName;

}
